import type {RouteRecordRaw} from 'vue-router';

const chapter1: RouteRecordRaw[] = [
    {
        path: '/',
        name: 'Index',
        meta: {
            title: '第一节课程',
        },
        component: () => import('../lesson/chapter1/index.vue'),
    },
    {
        path: '/chapter1/2',
        name: 'Chapter1/2',
        meta: {
            title: '第二节课程',
        },
        component: () => import('../lesson/chapter1/index2.vue'),
    },
    {
        path: '/chapter1/2-1',
        name: 'Chapter1/2-1',
        meta: {
            title: '第二节课程ds',
        },
        component: () => import('../lesson/chapter1/index2-1.vue'),
    },
    {
        path: '/chapter1/3',
        name: 'Chapter1/3',
        meta: {
            title: '材质、光照和动画',
        },
        component: () => import('../lesson/chapter1/index3.vue'),
    },
    {
        path: '/chapter1/4',
        name: 'Chapter1/4',
        meta: {
            title: '性能监控',
        },
        component: () => import('../lesson/chapter1/index4.vue'),
    },
    {
        path: '/chapter1/5',
        name: 'Chapter1/5',
        meta: {
            title: '交互控制',
        },
        component: () => import('../lesson/chapter1/index5.vue'),
    },
    {
        path: '/chapter1/6',
        name: 'Chapter1/6',
        meta: {
            title: '响应窗口变化',
        },
        component: () => import('../lesson/chapter1/index6.vue'),
    }
];

export default chapter1;
